//
//  ExceptionManager.h
//  PushInappTestiOS
//
//  Created by KyuJin on 13. 1. 13..
//
//

#import <Foundation/Foundation.h>
#define ERROR_CODE_NETWORK @"Network"
#define ERROR_CODE_TIMEOUT @"Timeout"
#define ERROR_CODE_TOKEN @"Token"
#define ERROR_CODE_UNKNOWN @"Unknown"

typedef enum {
    EXCEPTION_TYPE_UNKNOWN = 0, 
    EXCEPTION_TYPE_NETWORK,
    EXCEPTION_TYPE_TIMEOUT,
    EXCEPTION_TYPE_TOKEN
} EXCEPTION_TYPE;

@interface ExceptionManager : NSException

+ (void) raiseExceptionWith:(EXCEPTION_TYPE)exceptionType;
@end
